/**
	Stylesheet for the temporal design of Parallel Languages Platform
	@author Sergio Rodriguez Lumley & Daniel Guerrero Martinez
*/

/************** General settings ******************/
body{
	font:16px arial, sans;
	margin: 0px;
	padding: 0px;
	background: url('beepanel.png') repeat,
				url('bgline.png') repeat-x;
	background-color: #ffffff;
	min-width: 850px;
}

@font-face {
    font-family: "Segoe Print";
    src: local("Segoe Print"), url('SegoePrint.ttf');
}

b{
	color: #4F7A88;
}

a{
	color: rgb(30, 70, 105);
}

/************* Header *****************/

body > header{
	position: absolute;
	left: -9999px;
}

/************* Password/Theme/Language inputs ***********/
body > aside{
	display: inline;
	position: absolute;
	right: 80px;
	top: 5px;
}

body > aside > div{
	display: inline-block;
	margin-right: 5px;
	text-align: right;
	vertical-align: top;
}

body > aside > div > span{
	padding: 10px 5px 10px 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	background-color: rgba(210, 225, 210, 0.5);
	transition-property: background-color;
	transition-duration: 0.25s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.25s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.25s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.25s; /* Opera */
}

body > aside > div > span:hover{
	background-color: rgba(240, 255, 240, 0.75);
	cursor: pointer;
}

body > aside > div > div{
	position: relative;
	padding: 15px 15px 5px 10px;
	text-align: left;
	top: 8px;
	/*right: 40px;*/
	z-index: 100;
	background-color: rgba(250, 255, 250, 0.9);
	/*border: 2px solid #556e5f;*/
	/*border-radius: 5px;*/
	box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.5);
	max-width: 150px;
}

body > aside > div > div > p{
	font-size: 12px;
}

body > aside > div > div > ul{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

body > aside div.login input[type="submit"]{
	padding: 5px !important;
}

body > aside div.language select{
	width: 150px;
}

body > aside div.language input[type="submit"]{
	padding: 5px !important;
	width: 150px !important;
}

body > aside div.language span.es{
	color: rgba(0, 0, 0, 0);
	background: url('es.png') center no-repeat;
}

body > aside div.language span.en{
	color: rgba(0, 0, 0, 0);
	background: url('en.png') center no-repeat;
}

body > aside a.newstyle{
	font-weight: bold;
}

/****************** Main div *****************/
div.s1 {
	position: relative;
	border: 2px solid #556e5f;
	margin: -65px 65px 15px 65px;
	padding: 25px 20px 25px 20px;
	background-color: rgb(250, 255, 250);
	min-width: 800px;
	z-index: 10;
	border-radius: 60px;
	box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.5);
}

footer{
	position: relative;
	text-align: center;
	font-weight: bold;
	color: #556e5f;
	margin: auto;
}

/************** Error Panel related styles **************/
.errorPanel > p{
	font-weight: bold;
	padding: 5px;
	border-radius: 15px;
	border: 2px solid;
}

p.warning {
	color: #b14d00;
	border-color: #b14d00;
	background-color: #ffd593;
}

p.error {
	color: #b10000;
	border-color: #b10000;
	background-color: #ff9393;
}

p.info {
	color: #41406f;
	border-color: #41406f;
	background-color: #9c9aff;
}

p.success{
	color: #3e6532;
	border-color: #3e6532;
	background-color: #dcffd1;
}

/******* Navigators (Buttons of menu and Path navigator) *********/
nav > ul{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	/*overflow: hidden;*/
}

nav > ul > li{
	display: inline-block;
	position: relative;
	margin-right: 5px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	background-color: rgba(210, 225, 210, 0.5);
	transition-property: background-color;
	transition-duration: 0.25s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.25s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.25s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.25s; /* Opera */
}

nav > ul > li:hover{
	background-color: rgba(240, 255, 240, 0.75);
}

nav > ul > li  a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: #333333;
	min-width: 70px; /* <-- Change this value to fit more elements in navigator */
	padding: 10px;
}

nav > ul > li a span{
	display: block;
	padding: 30px;
	margin: auto;
	background: no-repeat center;
}

/*************** NAVIGATOR of MENU***************/
body > nav{
	display: inline-block;
}

body > nav > ul > li {
	z-index: 1;
}

/*************** NAVIGATOR of PATH ***************/

div > nav  > ul{
	position:relative;
	display: block;
	border: 2px solid #556e5f;
	border-radius: 40px;
	box-shadow: 0px 7px 20px rgba(0, 0, 0, 0.5) inset;
	margin: 0px 15px 15px 15px;
	background: #3dc875 url('beepanel.png') repeat;
}

div > nav > ul > li {
	box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
	width: auto;
}

div > nav > ul > li > a{
	padding-top: 10px;
	padding-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100px;
	white-space: nowrap;
	font-weight: bold;
	font-size: 14px;
}

div > nav > ul > li:first-child{
	border-top-left-radius: 40px;
	border-bottom-left-radius: 40px;
}

/** Back/Next buttons **/
div > nav  > ul:nth-child(2){
	position:relative;
	display: block;
	border: 0px solid;
	box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
	border-radius: 0px;
	margin: 0px 15px 15px 15px;
	background: transparent;
	height: 30px; /* Fixed height to set logged buttons always in the same position */
}

div > nav > ul:nth-child(2) > li:first-child{
	border-radius: 40px;
	max-width: 170px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

div > nav > ul:nth-child(2) > li:nth-child(2){
	float: right;
	right: 0px;
	border-radius: 40px;
	max-width: 170px;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

/**************** MENU ICONS *************/
body > nav > ul > li:first-child > a{
	background-image: url('webicon.png');
	background-repeat: no-repeat;
	padding: 10px 0px 70px 110px;
}

body > nav > ul > li:first-child span{
	background-image: url('home.png');
}

body > nav > ul > li:nth-child(2) span{
	background-image: url('programmingLanguages.png');
}

body > nav > ul > li:nth-child(3) span{
	background-image: url('software.png');
}

body > nav > ul > li:nth-child(4) span{
	background-image: url('courses.png');
}

body > nav > ul > li:nth-child(5) span{
	background-image: url('help.png');
}

body > nav > ul > li:nth-child(6) span{
	background-image: url('config.png');
}
/*********** Editing Options ***********/
aside.editOptions {
	text-align: center;
	margin-top: -40px; /* The height of back and next buttons */
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	position: absolute;
	right: 0;
	left: 0;
}

aside.editOptions > a{
	text-decoration: none;
	font-weight: bold;
	padding: 5px;
	color: #666666;
	margin-right: 5px;
	border-radius: 5px;
	border: 2px #666666 solid;
	box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.5);
	transition-property: background-color;
	transition-duration: 0.25s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.25s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.25s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.25s; /* Opera */
}

aside.editOptions > a:hover{
	background-color: rgba(140, 195, 160, 0.75);
}

/************** Page Index *************/
div.s1 > article > aside {
	border: 2px solid #556e5f;
	border-radius: 15px;
	margin-right: 10px;
	margin-top: 15px;
	padding: 5px 10px 10px 10px;
	background: rgba(250, 255, 250, 0.7) url('bgPageIndex.png') repeat-x top;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	float: right;
	right: 0px;
	z-index: 10px;
	max-width: 250px;
}

div.s1 > article > aside > ul{
	list-style: none;
	padding: 0px;
	margin:0px;
}

div.s1 > article > aside > ul a{
	display: block;
	text-decoration: none;
	color: #556e5f;
	text-align: left;
	
	transition-property: background-color;
	transition-duration: 0.5s;
	-moz-transition-property: background-color; /* Firefox 4 */
	-moz-transition-duration: 0.5s; /* Firefox 4 */
	-webkit-transition-property: background-color; /* Safari and Chrome */
	-webkit-transition-duration: 0.5s; /* Safari and Chrome */
	-o-transition-property: background-color; /* Opera */
	-o-transition-duration: 0.5s; /* Opera */
}

div.s1 > article > aside > ul a:hover{
	background-color: rgb(200, 235, 200);
}

li.indexHeader{
	display: block;
	margin: 0px 0px 10px 5px;
	text-align: center;
	color: rgb(60, 70, 60);
	font-family: "Segoe Print", arial, sans;
	font-weight: bold;
	font-size: 1.3em;
}

li.h1 a{
	font-weight: bold;
	color: #415448;
	padding-left: 0px;
}

li.h2 a{
	color: #415448;
	padding-left: 10px;
}

li.h3 a{
	color: #556e5f;
	padding-left: 20px;
}

li.h4 a{
	color: #556e5f;
	padding-left: 30px;
}

li.h5 a{
	color: #6f907c;
	padding-left: 40px;
}

li.h6 a{
	color: #6f907c;
	padding-left: 50px;
}

/************** ARTICLE *************/
section {
	border-radius: 20px;
	background-color: rgba(200, 225, 200, 0.2);
	padding: 5px 10px 5px 10px;
	margin-bottom: 10px;
}

section section{
	border: 1px solid #999;
}

/************* HEADERS ***************/
header {
	font-family: "Segoe Print", arial, sans;
	color: rgb(60, 70, 60);
	font-weight: bold;
	font-size: 2em;
	margin-bottom: 5px;
	/*text-transform: capitalize;*/
	border-bottom: 1px solid rgb(40, 50, 40);
	display: block;
}

section > header{
	font-family: "Segoe Print", arial, sans;
	color: rgb(60, 70, 60);
	font-weight: bold;
	font-size: 1em;
	margin-bottom: 5px;
	border-bottom: none;
}

h1{
	font-family: "Segoe Print", arial, sans;
	color: rgb(40, 50, 40);
	font-size: 1.7em;
	margin: 10px 0px;
}

h2{
	font-family: "Segoe Print", arial, sans;
	color: rgb(50, 60, 50);
	font-size: 1.5em;
	margin: 10px 0px;
}

h3{
	color: rgb(60, 70, 60);
	font-size: 1.3em;
	margin: 9px 0px;
}

h4{
	color: rgb(70, 80, 70);
	font-size: 1.2em;
	margin: 8px 0px;
}

h5{
	color: rgb(80, 90, 80);
	font-size: 1.1em;
	margin: 7px 0px;
}

h6{
	color: rgb(90, 100, 90);
	font-size: 1.0em;
	margin: 6px 0px;
}

/*************** CONSOLE ***********/
div#dialogcode{
	display: block;
	padding: 10px;
}

div#dialogcode > textarea{
	width: 770px;
    height: 530px;
    color: white;
    background-color: #333;
    font-family: monospace;
}

code > pre{
	background: #FAFAFA url('bgCode.png') repeat;
}









